package 测试1;

import java.util.Scanner;

/**
 * Created by hest0 on 2017/7/12.
 */
public class 字符排序2 {
    private static String set = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            String line = sc.nextLine();
            System.out.println(func(line));
        }
        sc.close();
    }

    private static String func(String line) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < set.length(); i++) {
            for (int j = 0; j < line.length(); j++) {
                if (set.charAt(i) == line.charAt(j)) {
                    sb.append(line.charAt(j));
                }
            }
        }
        return sb.toString();
    }
}
